<template>
  <div id="app" v-loading = "loading">
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  name: 'app',
  computed: {
    loading () {
      return this.$store.state.loading || this.$store.state.pageLoading
    }
  }
}
</script>
<style lang="scss" src="@/style/reset.scss"></style>
<style lang="scss" src="element-ui/packages/theme-chalk/src/index.scss"></style>
<style lang="scss" src = "@/style/main.scss"></style>
